package com.nameless.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nameless.entity.Role;
import com.nameless.vo.Result;

import java.util.List;

/**
 * @author : 陈灰灰
 * @Date: 2023/02/27/10:54
 * @Description:
 */
public interface RoleMapper extends BaseMapper<Role> {
    List<Integer> selectByUserId(Integer userid);
    void deleteByUserId(Integer userid);
    int addUserRole(Integer userid, Integer[] checkRole);

}
